from django.contrib import admin
from shortMessage.models import DailyNews


class DailyNewsAdmin(admin.ModelAdmin):
    list_display = ["created_time", "body", "title", "status", "pic_own"]
    fields = ["created_time", "body", "title", "status", "pic_own"]
    list_filter = ["body", "created_time", "status"]


admin.site.register(DailyNews, DailyNewsAdmin)
# Register your models here.
